/* Reset */
* {
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

/* Main background */
.main_container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff4e50, #f9d423);
}

/* Login card */
.form {
    background: #ffffff;
    padding: 45px 35px;
    width: 450px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-in-out;
}

/* Heading */
.heading {
    text-align: center;
    margin-bottom: 25px;
    color: #222;
    font-size: 24px;
    font-weight: 600;
}

/* Labels */
.username_label,
.password_label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

/* Inputs */
.username_input,
.password_input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

/* Input focus effect */
.username_input:focus,
.password_input:focus {
    outline: none;
    border-color: #ff4e50;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 78, 80, 0.15);
}

/* Button */
.submit_button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff4e50, #ff7a18);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Button hover */
.submit_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 78, 80, 0.4);
}

/* Button active */
.submit_button:active {
    transform: scale(0.98);
}

/* Fade animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile friendly */
@media (max-width: 400px) {
    .form {
        width: 90%;
        padding: 35px 25px;
    }
}
